#ifndef UPDATEARTICLELISTFIRSTREQUEST_H
#define UPDATEARTICLELISTFIRSTREQUEST_H


#include "network/networkgetjsonrequest.h"

#include <QObject>

class UpdateArticleListFirstResponse;

class UpdateArticleListFirstRequest : public Network::GetJSONRequest
{
    Q_OBJECT
public:
    explicit UpdateArticleListFirstRequest(    int _userId,
                                               int _sid,
                                               int _cid,
                                               int _count,
                                               int _articleInfoCount,
                                               int _firstId,
                                               QObject *parent = 0);

private:
    Network::JSONResponse &jsonResponse();

public:
    const Network::JSONResponse &jsonResponse() const;
    QUrl url() const;

private:
    UpdateArticleListFirstResponse *m_response;

    int m_userId;
    int m_sid;
    int m_cid;
    int m_count;
    int m_articleInfoCount;
    int m_firstId;

};

#endif // UPDATEARTICLELISTFIRSTREQUEST_H
